public class Student implements IVistable  {

    @Override
    public String accept(IVisitor visitor) {
        return visitor.visit(this);
    }

    private String studentName;

    private String studentNo;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

}
